Improving the Locality of Program Instances by Local Search
نویسنده
چکیده
In memory hierarchies, programs can be speeded up by increasing their degree of locality. This paper proposes an algorithm that optimizes the locality of program instances. Input is a set of statement instances, where each statement instance is characterized by the sequence of data it accesses. The algorithm orders the statement instances, thereby respecting data dependencies, and groups the data into blocks of memory. It is a local search heuristic with an objective function that quantitatively formalizes the intuitive notion of degree of locality. The algorithm is embedded in a semi-automatic locality optimization method for programs. Experimental results show that the algorithm can improve on current compiler optimizations.
منابع مشابه
Regularity Considerations in Instance-Based Locality Optimization
Instance{based locality optimization [6] is a semi{automatic program restructuring method that reduces the number of cache misses. The method imitates the human approach of considering several small program instances, optimizing the instances, and generalizing the structure of the solutions to the program under consideration. A program instance appears as a sequence of statement instances that ...
متن کاملRegularity Considerations in Instance{based Locality Optimization
Instance{based locality optimization 6] is a semi{automatic program restructuring method that reduces the number of cache misses. The method imitates the human approach of considering several small program instances, optimizing the instances, and generalizing the structure of the solutions to the program under consideration. A program instance appears as a sequence of statement instances that a...
متن کاملLocality Optimization for Program Instances
The degree of locality of a program reeects the level of temporal and spatial concentration of related data and computations. Locality optimization can speed up programs by reducing the communication costs. A possible human approach to locality optimization is to consider several small program instances of a given program, nd optimal or close to optimal mappings of data and computations for the...
متن کاملLocality Optimization for Program Instances
The degree of locality of a program re ects the level of temporal and spatial concentration of related data and computations. Locality optimization can speed up programs by reducing the communication costs. A possible human approach to locality optimization is to consider several small program instances of a given program, nd optimal or close to optimal mappings of data and computations for the...
متن کاملAn Effective Genetic Algorithm for Solving the Multiple Traveling Salesman Problem
The multiple traveling salesman problem (MTSP) involves scheduling m > 1 salesmen to visit a set of n > m nodes so that each node is visited exactly once. The objective is to minimize the total distance traveled by all the salesmen. The MTSP is an example of combinatorial optimization problems, and has a multiplicity of applications, mostly in the areas of routing and scheduling. In this paper,...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007